@import "../reset.css";
@import "component.css";
@import "../global/layout.css";

html {
    letter-spacing: -.4px;
    font-family: DM Sans,sans-serif;
    font-weight: 500;
    &::-webkit-scrollbar {
        border-radius: 2px;
        width: 4px;
    }
    &::-webkit-scrollbar-thumb {
        background: #C0C4CC;
    }
}
a {
    -webkit-tap-highlight-color: transparent;
    color: #1890ff;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}
@font-face {
    font-family: Bebas;
    src: url("../../font/Bebas-Regular.ttf");
}
@keyframes rotate{
    0%{
        transform: rotate(0);
    }
    50%{
        transform:rotate(180deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
.rotate{
    transition: 0.1s;
    transform-origin: 50%;
    animation: rotate .8s linear infinite;  /*开始动画后无限循环，用来控制rotate*/
}
.category {
    white-space: nowrap;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    color: #FFF !important;
    padding: 0 8px;
    background-color: #C0C4CC;
    border-radius: 2px;
    width: max-content;
    &.is-white {
        background-color: #FFF;
    }
}
.text-link {
    cursor: pointer;
}
header {
    width: 100%;
    position: sticky;
    z-index: 200;
    top: 0;
    .wrapper {
        display: none;
        &.is-mobile {
            display: block;
            .wrap {
                background-color: #FFF;
                padding: 18px 24px;
                position: relative;
                display: flex;
                align-items: center;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
                .logo {
                    width: 20%;
                    img {
                        display: block;
                    }
                }
                .title {
                    flex: 1;
                    text-align: center;
                    font-size: 16px;
                    font-weight: 500;
                    color: #303133;
                }
                .action {
                    width: 20%;
                    color: #C0C4CC;
                    display: flex;
                    justify-content: flex-end;
                    .iconfont {
                        font-size: 20px;
                    }

                    .iconmenu-burger2 {
                        margin-left: 24px;
                    }
                }
            }
            .search-page {
                display: none;
                position: absolute;
                top: 0;
                height: 100vh;
                left: 0;
                right: 0;
                z-index: 100;
                background-color: #FFF;
                .search-header {
                    display: flex;
                    position: relative;
                    align-items: center;
                    padding: 14px 16px;
                    font-size: 14px;
                    font-weight: 400;
                    border-bottom: 1px solid #EBEEF5;
                    .left {
                        display: flex;
                        flex: 1;
                        position: relative;
                        color: #909399;
                        border: 1px solid #FFF;
                        border-radius: 4px;
                        input {
                            flex: 1;
                            padding: 6px 32px ;
                            background-color: #F0F2F5;
                            border-radius: 4px;
                            line-height: 20px;
                            font-size: 14px;
                            border: none;
                            &::-webkit-input-placeholder {
                                color: #909399;
                                line-height: 20px;
                                font-size: 14px;
                            }
                            &:focus {
                                background-color: #FFF;
                                outline: none;
                            }
                        }
                        .iconfont {
                            font-size: 14px;
                            position: absolute;
                            top: 50%;
                            transform: translate(0, -50%);
                            left: 10px;
                        }
                    }
                    .right {
                        color: #606266;
                        margin-left: 10px;
                        line-height: 16px;
                    }
                }
                .search-wrap {
                    display: block;
                    position: initial;
                    height: 100%;
                }
                .search-tab {
                    li {
                        padding-top: 16px;
                        padding-bottom: 8px;
                    }
                }
                .result-list {
                    max-height: calc(100% - 115px);
                    min-height: calc(100% - 115px);
                }
            }
            .sidebar {
                display: none;
                position: absolute;
                overflow: hidden;
                top: 0;
                width: 100vw;
                height: 100vh;
                left: 0;
                background-color: #FFF;
            }
            .sidebar-top {
                padding: 24px 32px;
                font-size: 14px;
                line-height: 22px;
                border-bottom: 1px solid #EBEEF5;
                .account-info {
                    display: flex;
                    line-height: 16px;
                    font-weight: 500;
                    .avatar {
                        line-height: 1;
                        margin-right: 12px;
                        padding: 8px;
                        border-radius: 50%;
                        background-color: #C0C4CC;
                    }
                    .iconUser {
                        font-size: 24px;
                        color: #FFF;
                    }
                    .title {
                        color: #303133;
                        font-size: 14px;
                    }
                    .tag {
                        margin-top: 6px;
                        font-size: 12px;
                        span {
                            border-radius: 4px;
                            padding: 0 4px;
                            color: #FFF;
                            line-height: 16px;
                        }
                        .yellow {
                            background-color: #ffb23d;
                        }
                        .blue {
                            background-color: #1890FF;
                        }
                        .gray {
                            background-color: #C0CCDA;
                        }
                        .orange {
                            background-color: #FF873F;
                        }
                        .red {
                            background-color: #F56C6C;
                        }
                    }
                }
                .account-remain {
                    margin-top: 16px;
                }
                .account-time {
                    margin-top: 6px;
                }
            }
            .sidebar-wrap {
                max-height: calc(100vh - 127px);
                overflow: auto;
                overflow-x: hidden;
            }
            .sidebar-body {
                padding: 26px 32px 0;
            }
            .sidebar-header {
                padding: 18px 24px;
                box-sizing: border-box;
                display: flex;
                font-size: 14px;
                align-items: center;
                box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
                position: relative;
                .logo {
                    flex: 1;
                    img {
                        height: 24px;
                        width: 24px;
                    }
                }
                .center {
                    font-size: 18px;
                    font-weight: 500;
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }
            .sidebar-item {
                font-size: 14px;
                margin-top: 32px;
                &:first-child {
                    margin-top: 0;
                }
                &.is-close {
                    @keyframes turn {
                        0% {
                            transform: rotate(0deg);
                        }
                        50% {
                            transform: rotate(90deg);
                        }
                        100% {
                            transform: rotate(180deg);
                        }
                    }
                    .iconfont {
                        transform: rotate(180deg);
                        animation: turn .2s linear;
                    }
                    a {
                        display: none;
                    }
                }
                .title {
                    display: flex;
                    align-items: center;
                    font-weight: bold;
                    line-height: 20px;
                    color: #303133;
                }
                .iconfont {
                    font-size: 12px;
                    margin-left: auto;
                }
            }
            .sub-sidebar-item {
                margin-top: 16px;
                color: #606266;
                line-height: 24px;
            }
            .sidebar-footer {
                background-color: #FFF;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                position: absolute;
                padding: 24px 0;
                box-sizing: border-box;
                border-top: 1px solid #EBEEF5;
                bottom: 0;
                left: 0;
                right: 0;
                .footer-item {
                    font-size: 12px;
                    line-height: 16px;
                    font-weight: bold;
                    color: #606266;
                    text-align: center;
                }
                a {
                    color: inherit;
                }
            }
        }
    }
}
main {
    .container {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        @import "../global/list.css";
        & > h1 {
            margin-top: 16px;
            font-size: 16px;
            line-height: 24px;
            color: #303133;
        }
        & > h2 {
            margin-top: 8px;
            color: #606266;
            font-size: 12px;
            line-height: 20px;
            font-weight: 500;
        }
    }
    .gd-search {
        box-sizing: border-box;
        .gd-search__wrap {
            color: #909399;
            display: flex;
            align-items: center;
            background-color: #FFF;
            padding: 12px 16px;
            border-radius: 4px;
            .iconfont {
                font-size: 13px;
                margin-right: 10px;
            }
            input {
                flex: 1;
                font-size: 12px;
                line-height: 20px;
                font-weight: 400;
                border: none;
                outline: none;
                padding-right: 20px;
                color: #909399;
                &::-webkit-input-placeholder {

                }
            }
            button {
                font-weight: bold;
                font-size: 16px;
                line-height: 24px;
                display: none;
                width: auto;
            }
        }
    }
    .faqs {
        text-align: center;
        h3 {
            margin-top: 60px;
            font-size: 24px;
            line-height: 32px;
            color: #303133;
        }
        p {
            font-size: 14px;
            line-height: 24px;
            margin-top: 12px;
            color: #606266;
        }
        .gd-collapse {
            margin-top: 48px;
            .gd-collapse-item {
                background-color: #FFF;
                margin-top: 24px;
                &:first-child {
                    margin-top: 0;
                }
            }
            .gd-collapse-item__label {
                color: #303133;
                font-weight: bold;
                font-size: 18px;
                line-height: 24px;
            }
            .gd-collapse-item__affix {
                color: #1890FF;
            }
            .gd-collapse-item__wrap {
                font-size: 16px;
                line-height: 30px;
                color: #606266;
            }
        }
    }
    .section-seo {
        background-color: #FFF;
        font-size: 14px;
        line-height: 20px;
        color: #909399;
        margin: 24px 20px 40px;
        .seo-item {
            display: flex;
            align-items: center;
            margin-top: 10px;
            &:first-child {
                margin-top: 0;
            }
            .iconfont {
                margin-right: 12px;
            }
        }
    }
}
footer {
    margin-top: 60px;
    background-color: #F3F7FE;
    .container {
        padding: 32px 20px;
        .footer-logo {
            display: flex;
            align-items: center;
            font-size: 18px;
            line-height: 1;
            img {
                width: 30px;
                height: 30px;
                margin-right: 16px;
            }
        }
        .sns-link {
            display: flex;
            margin-top: 24px;
            img {
                margin-right: 12px;
                cursor: pointer;
                &:last-child {
                    margin-right: 0;
                }
            }
        }
        nav {
            .footer-nav-title {
                margin-top: 32px;
                color: #303133;
                letter-spacing: 1px;
                font-weight: bold;
                font-size: 12px;
                line-height: 20px;
            }
            li {
                margin-top: 16px;
                a {
                    font-size: 14px;
                    line-height: 22px;
                    color: #303133;
                }
            }
        }
    }
}

@media only screen and (min-width: 1024px) {
    @import "ins-table.css";
    .container {
        width: 100%;
        max-width: 1200px;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    header {
        border-bottom: 1px solid rgba(0, 0, 0, .1);
        background-color: #FFF;
        font-weight: 500;
        & > section {
            max-width: 1200px;
            margin: 0 auto;
        }
        .header-logo {
            display: flex;
            align-items: center;
            font-size: 18px;
            color: #000;
            img {
                margin-right: 16px;
            }
        }
        .wrapper {
            padding: 14px 0;
            display: flex;
            align-items: center;
            position: relative;
            &.is-mobile {
                display: none;
            }
            .gd-search {
                position: relative;
                width: 352px;
                margin-left: 50px;
                box-sizing: border-box;
                .gd-search__wrap {
                    padding: 5px 18px;
                    background-color: #F5F7FA;
                    input {
                        background-color: #F5F7FA;
                        font-size: 14px;
                        padding-right: 20px;
                        &:focus {
                            background-color: #FFF;
                        }
                    }
                }
                .search-wrap {
                    top: calc(100% + 10px);
                    width: calc(100% - 2px);
                    .search-tab {
                        li {
                            padding-top: 16px;
                            padding-bottom: 8px;
                        }
                    }
                }
                .result-list {
                    box-sizing: border-box;
                    padding: 12px 16px;
                    max-height: 392px;
                    min-height: 210px;
                    position: relative;
                    overflow-x: hidden;
                    &::-webkit-scrollbar {
                        border-radius: 2px;
                        width: 4px;
                    }
                    &::-webkit-scrollbar-thumb {
                        background: #C0C4CC;
                    }
                }
                .result-item {
                    display: flex;
                    align-items: center;
                    border-radius: 8px;
                    padding: 12px 8px;
                    &:hover {
                        background-color: #F5F7FA;
                    }
                    .avatar {
                        position: relative;
                        .img-avatar {
                            display: block;
                            width: 48px;
                            height: 48px;
                            border-radius: 50%;
                        }
                        .icon {
                            width: 16px;
                            height: 16px;
                            position: absolute;
                            right: 0;
                            bottom: 0;
                            color: #4D97F4;
                        }
                    }
                    .user-info {
                        text-align: left;
                        font-size: 14px;
                        line-height: 1;
                        margin-left: 16px;
                        .title {
                            color: #303133;
                        }
                        .sub-title {
                            margin-top: 6px;
                            color: #909399;
                        }
                    }
                }
            }
            button {
                margin-left: auto;
                font-weight: bold;
                font-size: 14px;
                line-height: 20px;
                width: auto;
                padding: 6px 19px;
            }
            .header-menu {
                margin-left: 40px;
                font-size: 16px;
                line-height: 24px;
                flex: 1;
                & > li {
                    margin-left: 30px;
                    float: left;
                    color: #303133;
                    cursor: pointer;
                    line-height: 36px;
                    &:first-child {
                        margin-left: 0;
                    }
                    a {
                        text-decoration: none;
                        color: #303133;
                    }
                    &.is-active {
                        a {
                            color: #1890FF;
                        }
                    }
                }
            }
            .header-submenu {
                position: relative;
                display: flex;
                align-items: center;
                font-size: 16px;
                .header-submenu__title {
                    display: flex;
                    align-items: center;
                }
                .iconfont {
                    margin-left: 8px;
                    font-size: 8px;
                }
                .header-submenu__wrap {
                    display: none;
                    border-radius: 3px;
                    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
                    position: absolute;
                    top: 100%;
                    left: -24px;
                    background-color: #FFF;
                    padding: 24px;
                    white-space: nowrap;
                    z-index: 1;
                    a {
                        color: inherit;
                    }
                    .is-active {
                        a {
                            color: #1890FF;
                        }
                    }
                    dl {
                        line-height: 20px;
                        margin-left: 40px;
                        &:first-child {
                            margin-left: 0;
                        }
                    }
                    dt {
                        font-size: 12px;
                        color: #909399;
                    }
                    dd {
                        font-size: 16px;
                        margin-top: 12px;
                        &:first-child {
                            margin-top: 0;
                        }
                        &:hover {
                            color: #1890ff;
                        }
                    }
                }
            }
            .account-info {
                margin-left: auto;
                font-weight: 500;
                font-size: 14px;
                position: relative;
                .wrap {
                    display: none;
                    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
                    border-radius: 3px;
                    background-color: #FFF;
                    position: absolute;
                    top: 100%;
                    left: 50%;
                    transform: translate(-50%);
                    z-index: 1;
                }
                .account-top {
                    margin: 24px 32px 0;
                    padding-bottom: 16px;
                    border-bottom: 1px solid #EBEEF5;
                    line-height: 16px;
                    .title {
                        color: #303133;
                    }
                    .tag {
                        color: #FFF;
                        margin-top: 8px;
                        span {
                            font-size: 12px;
                            padding: 0 4px;
                            border-radius: 4px;
                        }
                        .yellow {
                            background-color: #ffb23d;
                        }
                        .blue {
                            background-color: #1890FF;
                        }
                        .gray {
                            background-color: #C0CCDA;
                        }
                        .orange {
                            background-color: #FF873F;
                        }
                        .red {
                            background-color: #F56C6C;
                        }
                    }
                }
            }
            .account-avatar {
                padding: 8px;
                background-color: #C0C4CC;
                border-radius: 50%;
                color: #FFF;

                .iconfont {
                    font-size: 24px;
                }
            }
            .account-detail {
                margin: 16px 32px 0;
                padding-bottom: 16px;
                border-bottom: 1px solid #EBEEF5;
                &.is-link {
                    margin: 0;
                    padding: 8px 0;
                    a {
                        color: inherit;
                        font-size: inherit;
                        display: flex;
                        align-items: center;
                        width: 100%;
                    }
                    .detail-item {
                        cursor: pointer;
                        color: #606266;
                        padding: 10px 32px;
                        &:hover {
                            background-color: #F5F7FA;
                        }
                        .label {
                            flex: 1;
                            color: #606266;
                            line-height: 24px;
                        }
                        .iconfont {
                            font-size: 14px;
                        }
                    }
                }
                .detail-item {
                    display: flex;
                    align-items: center;
                    line-height: 22px;
                    .label {
                        color: #909399;
                        white-space: nowrap;
                    }
                    .data {
                        color: #303133;
                    }
                }
            }
            .account-footer {
                padding-top: 18px;
                padding-bottom: 26px;
                margin: 0 32px;
                line-height: 24px;
                color: #606266;
                cursor: pointer;
            }
            .bg-header_logo {
                width: 152px; height: 30px;
                background: url('../../img/link_sprites.png') -10px -10px;
            }
        }
    }
    main {
        padding-top: 0;
        width: 100%;
        padding-bottom: 0;
        & > section {
            &:first-child {
                margin-top: 0;
            }
        }
        .container {
            padding: 0 !important;
            &.is-mobile {
                display: none;
            }
            & > h1 {
                margin-top: 80px;
                font-size: 32px;
                line-height: 36px;
            }
            & > h2 {
                margin-top: 16px;
                font-size: 16px;
                line-height: 24px;
            }
        }
        .gd-search {
            margin-left: auto;
            margin-right: auto;
            .gd-search__wrap {
                padding: 20px 32px 20px 20px;
                border-radius: 8px;
                button {
                    display: block;
                    padding: 8px 30px;
                }
                .iconfont {
                    font-size: 16px;
                    margin-right: 24px;
                }
                input {
                    font-size: 14px;
                }
            }
        }
        .section-seo {
            max-width: 100%;
            margin: 100px 0 -100px;
            background-color: #FAFBFC;
            .seo-wrap {
                padding: 42px 0;
                max-width: 1200px;
                margin: 0 auto;
                display: flex;
                justify-content: space-between;
            }
            .seo-item {
                margin-top: 0;
            }
        }
        .pagination {
            text-align: center;
            .layui-box {
                margin-bottom: 0;
                margin-top: 24px;
                & > a {
                    margin-left: 10px;
                    width: 30px;
                    border-radius: 2px;
                    padding: 4px 0;
                    font-size: 14px;
                    line-height: 22px;
                    height: auto;
                    background-color: #F5F7FA;
                    color: #909399 !important;
                    border: none;
                    &:first-child {
                        margin-left: 0;
                        max-height: 30px;
                    }
                }
                .layui-laypage-curr {
                    border: none;
                    border-radius: 2px;
                    margin-left: 10px;
                    font-size: 14px;
                    line-height: 22px;
                    width: 30px;
                    padding: 4px 0;
                    height: auto;
                    .layui-laypage-em {
                        background-color: #1890FF;
                        padding: 0;
                        left: 0;
                        top: 0;
                    }
                }
                .layui-laypage-spr {
                    background-color: #F5F7FA;
                    border: none;
                    margin-left: 10px;
                    padding: 0 11px;
                    border-radius: 2px;
                }
            }
        }
        .faqs {
            h3 {
                margin-top: 120px;
                font-size: 36px;
                line-height: 44px;
            }
            p {
                margin-top: 16px;
            }
        }
    }
    footer {
        margin-top: 100px;
        .container {
            font-weight: 500;
            color: #000;
            display: grid;
            grid-template-columns: repeat(12, 71px);
            column-gap: 32px;
            padding: 80px 0 40px;
        }
        nav {
            &:nth-child(1) {
                grid-column-start: 1;
                grid-column-end: 3;
            }
            &:nth-child(2) {
                grid-column-start: 3;
                grid-column-end: 6;
            }
            &:nth-child(3) {
                grid-column-start: 6;
                grid-column-end: 9;
            }
            &:nth-child(4) {
                grid-column-start: 9;
                grid-column-end: 11;
            }
            &:nth-child(5) {
                grid-column-start: 11;
                grid-column-end: 13;
            }
        }
        .footer-nav-title {
            margin-top: 0 !important;
        }
    }
}
